package HandsOn7;

import java.util.Vector;

public class Casting {
	public static void main(String[] args){
		java.util.Vector v = new java.util.Vector();
		v.add(new String("Test"));
		String str = (String) v.get(0);
		System.out.println(str);
		long a = 123456;
		System.out.println(a);
		short b = (short) a;
		System.out.println(b);
		int i=123;
		long l = (long) i;
	}

}
